/**
 * @desc
 * 授权流程页面
 *
 * @使用场景
 *
 * @author  杨晓东[of1081]
 * @company qianmi.com
 * @Date    2017/2/21
 **/

import React, { Component } from 'react'
import ReactDOM from 'react-dom'
import { AppContainer } from 'react-hot-loader'
import Authorization from './authorization'
import "../common/css/common.css";
const render = (Component) => {
    ReactDOM.render(
        <AppContainer>
            <Component/>
        </AppContainer>,
        document.getElementById('root')
    );
};

render(Authorization);

// Hot Module Replacement API
if (module.hot) {
    module.hot.accept('./authorization', () => {
        render(Authorization)
    });
}
